<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>创建，删除user membership工具，分配使用权限</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">创建，删除user membership工具，分配使用权限</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>http://localhost:8080/portal/site/%7Eadmin/page/%7Eadmin-100</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Administration Workspace : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//li[4]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : mercury site : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//li[19]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : mercury site : Site Info</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//img[@alt='Reset']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/ul/li[1]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : mercury site : Home</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=退出系统</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Gateway : Welcome</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>eid</td>
	<td>t</td>
</tr>
<tr>
	<td>type</td>
	<td>pw</td>
	<td>t</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : My Workspace : Home</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//li[2]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : mercury site : Home</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=退出系统</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Gateway : Welcome</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>eid</td>
	<td>admin</td>
</tr>
<tr>
	<td>type</td>
	<td>pw</td>
	<td>admin</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Administration Workspace : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/ul/li[4]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>verifyTitle</td>
	<td>Sakai Based Service : Administration Workspace : Sites</td>
	<td></td>
</tr>
<tr>
	<td>selectFrame</td>
	<td>Mainxadminx310</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=mercury</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>eventSubmit_doPages</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=新页面</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>title</td>
	<td>user membership</td>
</tr>
<tr>
	<td>click</td>
	<td>eventSubmit_doTools</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=新工具</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>feature78</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>eventSubmit_doSave_tool</td>
	<td></td>
</tr>
<tr>
	<td>selectWindow</td>
	<td>null</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//img[@alt='Reset']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/ul/li[1]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>verifyTitle</td>
	<td>Sakai Based Service : Administration Workspace : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//li[4]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>verifyTitle</td>
	<td>Sakai Based Service : mercury site : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//li[20]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>verifyTitle</td>
	<td>Sakai Based Service : mercury site : user membership</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//img[@alt='Reset']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/ul/li[1]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>verifyTitle</td>
	<td>Sakai Based Service : mercury site : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=退出系统</td>
	<td></td>
</tr>
<tr>
	<td>verifyTitle</td>
	<td>Sakai Based Service : Gateway : Welcome</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>eid</td>
	<td>t</td>
</tr>
<tr>
	<td>type</td>
	<td>pw</td>
	<td>t</td>
</tr>
<tr>
	<td>click</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>verifyTitle</td>
	<td>Sakai Based Service : My Workspace : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//li[2]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>verifyTitle</td>
	<td>Sakai Based Service : mercury site : Home</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=退出系统</td>
	<td></td>
</tr>
<tr>
	<td>verifyTitle</td>
	<td>Sakai Based Service : Gateway : Welcome</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>eid</td>
	<td>admin</td>
</tr>
<tr>
	<td>type</td>
	<td>pw</td>
	<td>admin</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Administration Workspace : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//li[6]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Administration Workspace : Worksite Setup</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sites</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Administration Workspace : Sites</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=id('toolMenu')/ul/li[5]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Administration Workspace : Realms</td>
	<td></td>
</tr>
<tr>
	<td>selectFrame</td>
	<td>Mainxadminx355</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>search</td>
	<td>mercury</td>
</tr>
<tr>
	<td>click</td>
	<td>link=搜索</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=/site/mercury</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=maintain</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>lock133</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>eventSubmit_doSave_role</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=/site/mercury</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=t</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>role2</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>eventSubmit_doSave_user</td>
	<td></td>
</tr>
<tr>
	<td>selectFrame</td>
	<td>relative=up</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//img[@alt='Reset']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/ul/li[1]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Administration Workspace : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=退出系统</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Gateway : Welcome</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>eid</td>
	<td>t</td>
</tr>
<tr>
	<td>type</td>
	<td>pw</td>
	<td>t</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : My Workspace : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//li[2]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : mercury site : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//li[20]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : mercury site : user membership</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//img[@alt='Reset']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/ul/li[1]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : mercury site : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=退出系统</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Gateway : Welcome</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>eid</td>
	<td>admin</td>
</tr>
<tr>
	<td>type</td>
	<td>pw</td>
	<td>admin</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Administration Workspace : Home</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//li[4]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : mercury site : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//li[19]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : mercury site : Site Info</td>
	<td></td>
</tr>
<tr>
	<td>selectWindow</td>
	<td>null</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>role7637f12f-1714-44b1-0011-e625fdf799d1</td>
	<td>label=access</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>eventSubmit_doUpdate_participant</td>
	<td></td>
</tr>
<tr>
	<td>selectFrame</td>
	<td>relative=up</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/ul/li[1]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : mercury site : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Administration Workspace : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/ul/li[4]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>verifyTitle</td>
	<td>Sakai Based Service : Administration Workspace : Sites</td>
	<td></td>
</tr>
<tr>
	<td>selectFrame</td>
	<td>Mainxadminx310</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=mercury</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>eventSubmit_doPages</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=/html/body/div/table/tbody/tr[21]/td[2]/a</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=移除页面</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>xpath=/html/body/div/form/div[2]/input[1]</td>
	<td></td>
</tr>
<tr>
	<td>selectFrame</td>
	<td>relative=up</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//img[@alt='Reset']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/ul/li[1]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Administration Workspace : Home</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
